package io.kiki.sba.registry.server.metadata.slot;

import io.kiki.sba.registry.common.model.slot.DataStoreNode;
import io.kiki.sba.registry.common.model.slot.Slots;
import io.kiki.sba.registry.observer.Observable;


public interface SlotManager extends SlotsAware, Observable {

    boolean refresh(Slots slots);

    int getSlotNums();

    int getSlotReplicaNums();

    DataStoreNode getDataNodeManagedSlot(String dataNode, boolean ignoreFollowers);
}
